import 'package:flutter/material.dart';
import 'package:get/get.dart';


class ObxSize extends ObxWidget implements PreferredSizeWidget  {
  final WidgetCallback builder;
  @override
  final Size preferredSize;
  const ObxSize(this.builder,this.preferredSize, {super.key});

  @override
  Widget build() => builder();
}